﻿using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;

namespace Nb.LMS.Domains.Manufacturers.Abstracts
{
    public interface IManufacturerRepository
    {
        Manufacturer GetByCode(string code);
        //IQueryable<Manufacturer> Query(Expression<Manufacturer> filtersExpression); 

        void AddOrUpdate(Manufacturer manufacturer);
        void Remove(Manufacturer manufacturer);
    }
}
